{extend name="public/base"}

{block name="title"}
维修店管理
{/block}

{block name="style"}
{css href="/static/wechat/css/managementshop.css" /}
{/block}

{block name="body"}
<div class="pageControl orderDetails">
    <div class="msui_nav msui_navTop" style="border-bottom: 1px solid #cccccc;align-items: center;">
        <a class="msui_navTop-back" href="javascript:history.back();"><i class="micon-back"></i></a>
        <h1 class="msui_navTop-title">维修店管理</h1>
        <a href="{:url('search_shop', ['type' => 1])}"><i class="u-fdj bging"></i></a>
    </div>
    <!--店铺审核-->
    <a class="g-sh-div" href="{:url('repair_list')}">
        <div class="shdiv1">
            <i class="bging"></i>
            <span class="fs08">店铺审核</span>
        </div>

        <div class="shdiv2">
            <i class="msgnub">{$repair_num}</i>
            <i class="right_sys"></i>
        </div>
    </a>
    <!--选择店铺排序方式默认or时间-->
    <ul class="g-ul-px">
        <li class="li-px1">
            <span>默认</span>
        </li>
        <li class="li-px2">
            <span>开店时间</span>
            <i class="bging"></i>
        </li>
    </ul>
    <!--滑动-->
    <div class="slide">

    </div>

    <!--店铺列表-->
    <ul class="g-ul-dplb">
        {empty name="data.repair_list"}
            <li style=" margin: 2rem 0; text-align: center;">暂无维修店</li>
        {else /}
            {volist name="data.repair_list" id="vo"}
            <a href="{:url('repair_info', ['id' => $vo['id']])}">
                <li class="li-dplb">
                    <div class="shopheaddiv dplb-div">
                        {empty name="vo.logo"}
                        <i class="bging shophead1" style="background-image: url('/static/wechat/images/1.jpg');"></i>
                        {else /}
                        <i class="bging shophead1" style="background-image: url('{$vo.logo|get_img_url}');"></i>
                        {/empty}
                    </div>
                    <div class="shopmsg">
                        <h1 class="fs09">{$vo.repair_name}</h1>
                        <p class="fs06 cl-6666">店主: {$vo.proposer}</p>
                        <span class="fs06 cl-9999">开店时间:</span><span class="fs06 cl-9999 data">{$vo.audit_time|date="Y-m-d", ###}</span>&nbsp;&nbsp;<span class="fs06 cl-9999">{$vo.audit_time|date="H:i", ###}</span>
                    </div>
                </li>
            </a>
            {/volist}
        {/empty}
    </ul>
</div>
{/block}
{block name="javascript"}
<script src="/static/wechat/js/managementshop.js?v={php}echo time(){/php}"></script>
{/block}